/* 
 * File:   main.cpp
 * Author: skyro
 *
 * Created on December 15, 2010, 5:14 PM
 */

#include <stdlib.h>
#include <iostream>
#include "common/types.h"
#include "common/util.h"
#include "low_level/subsystem.h"
#include "low_level/mem.h"

/*
 * 
 */
using namespace std;

int main(int argc, char** argv) {

    U8 u1;
    I8 i1;
    U16 u16;
    I16 i16;
    U32 u32;
    I32 i32;
    U64 u64;
    I64 i64;

    u16 = 0x1234;
    u32 = 0xABCDEF10;
    ASSERT(swap16Bit(u16) == 0x3412);
    ASSERT(swap32Bit(u32) == 0x10EFCDAB);

    root rootmanager = RootManager::Instance();
    rootmanager.startup("log");
    std::cout<<rootmanager.getVersion()<<endl;

    return (EXIT_SUCCESS);
}

